﻿<Window x:Class="Sanbox.MainWindowDesignTest"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        MinHeight="720" 
        MinWidth="1280"
        Background="Black"
        WindowStartupLocation="CenterScreen"
        WindowStyle="None"
        ResizeMode="CanResizeWithGrip"
        Title="Mad Media Manager" 
        WindowState="Normal"
        >
    <Window.Resources>
        <ResourceDictionary>
        	<ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Resources/MainWindowResources.xaml"/>
                <ResourceDictionary Source="Resources/MenuButtonResoruces.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition MinHeight="510"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Border BorderBrush="White" BorderThickness="0,0,0,1">
            <Grid Grid.Row="0" MouseDown="Grid_MouseDown">
                <TextBlock Margin="10,0,0,0">
                    Mad Media Manager
                </TextBlock>
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                    <Button ToolTip="Minimize the window" Margin="0,0,10,0" Width="50" Background="Transparent" Foreground="White" FontSize="16" Click="Button_Click_1">_</Button>
                    <Button ToolTip="Exit the application" Width="50" Background="Transparent" Foreground="White" FontSize="16" Click="Button_Click">X</Button>
                </StackPanel>
            </Grid>
        </Border>
        <Grid Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,15,0,0">
            <Border CornerRadius="8">
                <Border.Background>
                    <RadialGradientBrush Center="0.5, 0.5" RadiusX="1" RadiusY="1">
                        <GradientStop Offset="0" Color="Crimson" />
                        <GradientStop Offset="1" Color="Black"/>
                    </RadialGradientBrush>
                </Border.Background>
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <Border CornerRadius="8,8,0,0">
                        <Border.Background>
                            <LinearGradientBrush>
                                <GradientStop Color="Crimson" Offset="0"/>
                                <GradientStop Color="Wheat" Offset="1"/>
                            </LinearGradientBrush>
                        </Border.Background>
                        <Grid Grid.Row="0">
                            <TextBlock Foreground="White" FontSize="40" Margin="10,0,0,0">
                                Home
                            </TextBlock>
                        </Grid>
                    </Border>
                    <Grid Grid.Row="1" Margin="20" x:Name="ContentRegion">
                    </Grid>
                </Grid>
            </Border>
        </Grid>
        <Grid Grid.Row="2" Margin="0,20,0,20">
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
                <Button Style="{StaticResource menuButtonStyle}"></Button>
                <Button Style="{StaticResource menuButtonStyle}"></Button>
                <Button Style="{StaticResource menuButtonStyle}"></Button>
                <Button Style="{StaticResource menuButtonStyle}"></Button>
                <Button Style="{StaticResource menuButtonStyle}"></Button>
                <Button Style="{StaticResource menuButtonStyle}"></Button>
                <Button Style="{StaticResource menuButtonStyle}"></Button>
            </StackPanel>
        </Grid>
    </Grid>
</Window>
